package com.quick.develop.flowable.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author junyuan.liu
 * @description: 流程任务类型
 * @date 2022/8/11 9:48
 */
@AllArgsConstructor
@Getter
public enum BpmTaskCategory {

    /**
     * 类型
     */
    CANDIDATE("candidate", "候选"),
    DEPARTMENT_SPONSORED("departmentSponsored", "部门主办"),
    INTERNAL_SPONSORED("internalSponsored", "部内主办"),
    PERSONAL_SPONSORED("personalSponsored", "人员主办"),
    DEPARTMENT_ASSISTANCE("departmentAssistance", "部门协办"),
    INTERNAL_ASSISTANCE("internalAssistance", "部内协办"),
    PERSONAL_ASSISTANCE("personalAssistance", "人员协办"),
    DEPARTMENT_READ("departmentRead", "部门阅知"),
    INTERNAL_READ("internalRead", "部内阅知"),

    PERSONAL_READ("personalRead", "人员阅知");

    /**
     * 类型码
     */
    public final String code;

    /**
     * 文本
     */
    public final String text;

}
